package sctu.edu.java.year2016.team07.shihaocheng.day20160605.chapter11_1;

/**
 * Created by admin on 2016/6/5.
 */
public class Student {
    public void speak(int m) throws MyException{
        if(m>1000){
            throw new MyException("m的值大于1000");
        }

    }
}
